a390908592cae1bc8e0ed9ad800c7b1e02927e7f,compiler/frontend/src/org/jetbrains/jet/lang/resolve/lazy/LazyClassMemberScope.java,LazyClassMemberScope,getConstructors,#,132

Before Change



    @NotNull
    public Set<ConstructorDescriptor> getConstructors() {
        return Collections.singleton(getPrimaryConstructor());
    }

    @Nullable

After Change


    @NotNull
    public Set<ConstructorDescriptor> getConstructors() {
        ConstructorDescriptor constructor = getPrimaryConstructor();
        return constructor == null ? Collections.<ConstructorDescriptor>emptySet() : Collections.singleton(constructor);
    }

    @Nullable